<div class="main-page">
    <div class="box-middle">
        <span class="image-icon"><span></span></span>
        <p class="text">Hình Ảnh</p>
    </div>
    
    <ul class="ul-image-left gallery clearfix">
        <?php if(isset($banners)): ?>
        <?php foreach($banners as $index => $banner):?>
        <li style="<?php if($index > 3) echo "display:none" ?>"><a  rel="prettyPhoto[gallery2]" href="<?php echo Yii::app()->createUrl($banner->file) ?>"><img alt="casino" style="max-width: 114px; max-height: 114px;" src="<?php echo Yii::app()->createUrl($banner->file) ?>"/></a></li>          
        <?php endforeach;?>
        <?php endif;?>
    </ul>
        
    <div class="box-middle">
        <span class="image-icon"><span></span></span>
        <p class="text">Video</p>
    </div>
    
    <div class="ul-image-left gallery clearfix" style="padding:10px;">
        <iframe width="420" height="315" src="//www.youtube.com/embed/rIUERhgqk3E" frameborder="0" allowfullscreen></iframe>
    </div>
    
<!--    <div class="box-header">
        <span class="event-icon"><span></span></span>
        <p class="text">Tin Tức - Sự Kiện</p>
    </div>
    <ul class="ul-style-dis">
        <?php if(isset($models)): ?>
        <?php foreach($models as $index => $model):?>        
        <li>
            <a href="<?php echo $model->getDetailLink(); ?>">
                <img width="80px" height="60px" src="<?php echo Yii::app()->createUrl($model->main_image) ?>"/>   
                <div class="news-info">
                    <div class="news-title"><?php echo $model->title; ?></div>
                    <div class="news-date">[<?php echo date('d-m-Y', strtotime($model->create_time))?>]</div>                
                </div>
            </a>
        </li>        
        <?php endforeach; ?>
        <?php endif;?>
    </ul>
    <div class="more">
        <a href="<?php echo Yii::app()->createUrl('post/news') ?>">Xem tất cả >></a>
    </div>        -->
    
    <div class="fb-box">
        <iframe src="//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Ffacebook.com%2Fcasino888.in&amp;width&amp;height=290&amp;colorscheme=light&amp;show_faces=true&amp;header=true&amp;stream=false&amp;show_border=true&amp;appId=1401311996778175" scrolling="no" frameborder="0" style="border:none; overflow:hidden; height:290px;" allowTransparency="true"></iframe>
    </div>
</div> 
